<ul class="nav navbar-nav">
                     <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                           role="button" aria-haspopup="true" aria-expanded="false">{% if not request.obj %}
                                项目{% else %} 项目：{{ request.obj.0.1 }}
                           {% endif %}
                            <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">我创建的</a></li>
                        <li role="separator" class="divider"></li>
                             {% for i in my %}
                                   <li><a href="{% url 'dashboard' i.0  %}">{{ i.1 }}</a></li>
                            {% endfor %}


                            <li role="separator" class="divider"></li>
                            <li><a href="#">我参与的</a></li>
                        <li role="separator" class="divider"></li>
                           {% for i in join %}
                                <li><a href="{% url 'dashboard' i.0  %}">{{ i.1 }}</a></li>
                            {% endfor %}
                            <li role="separator" class="divider"></li>
                        <li role="separator" class="divider"></li>
                           <li><a href="#">星标项目</a></li>
                        <li role="separator" class="divider"></li>
                            {% for i in my %}
                                {% if i.4 == 'true' %}
                                    <li><a href="{% url 'dashboard' i.0  %}">{{ i.1 }}</a></li>
                                {% endif %}

                            {% endfor %}
                        </ul>
                    </li>
                </ul>
